var DataTypes = require("sequelize").DataTypes;
var _admin = require("./admin");
var _article = require("./article");
var _article_info = require("./article_info");
var _comment = require("./comment");
var _ip = require("./ip");
var _log = require("./log");
var _message = require("./message");
var _reply = require("./reply");
var _system = require("./system");
var _tag = require("./tag");
var _tag_article = require("./tag_article");
var _user = require("./user");

function initModels(sequelize) {
  var admin = _admin(sequelize, DataTypes);
  var article = _article(sequelize, DataTypes);
  var article_info = _article_info(sequelize, DataTypes);
  var comment = _comment(sequelize, DataTypes);
  var ip = _ip(sequelize, DataTypes);
  var log = _log(sequelize, DataTypes);
  var message = _message(sequelize, DataTypes);
  var reply = _reply(sequelize, DataTypes);
  var system = _system(sequelize, DataTypes);
  var tag = _tag(sequelize, DataTypes);
  var tag_article = _tag_article(sequelize, DataTypes);
  var user = _user(sequelize, DataTypes);


  return {
    admin,
    article,
    article_info,
    comment,
    ip,
    log,
    message,
    reply,
    system,
    tag,
    tag_article,
    user,
  };
}
module.exports = initModels;
module.exports.initModels = initModels;
module.exports.default = initModels;
